package com.ypj.rpc.transport;

public interface RpcServer {

    void start();
    /**
     * 向Nacos注册服务：发布
     * @param service
     * @param serviceName
     * @param <T>
     */
    <T> void publishService(T service, String serviceName);
}
